<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.springframework.ui.ModelMap" import="java.util.*,com.device.operating.entity.*"
    pageEncoding="UTF-8"%>
	<%
	List<Dvfirm> list=(List<Dvfirm>)request.getAttribute("listdvfirm"); 
	Dvmodel dm=null;
	if(request.getAttribute("dm")!=null)
		dm=(Dvmodel)request.getAttribute("dm");
	%>
	<td>			       				       			       
	设备厂商：
	</td>
	<td >
	<select id="dvfirm" style="width:98%;height:98%" data-fieldId="dvfirmId"  name="dvfirm">
	<option value="">请选择</option>
	<%for(Dvfirm dvfirm:list){%>				       		
	<option value="<%=dvfirm.getDvfirmId()%>"<%if(dm!=null&&dm.getDvfirmId().equals(dvfirm.getDvfirmId())){%>selected ="selected"<%}%>><%=dvfirm.getDvfirm()%></option>
	<%}%>
	</select>
	</td>
	<td>			       				       			       
	设备类型：
	</td>
	<td>
	<select id="dvbelong" style="width:98%;height:98%" data-fieldId="dvbelong" name="dvbelong" <%if(dm==null){%>disabled=true<%}%>>
	<option value="">请选择</option>
	<%if(dm!=null){%>
	<option value="<%=dm.getDvbelong()%>"selected ="selected"><%=dm.getDevresname()%></option>
	<%}%>
 	</select>
 	</td>
 	<td>
 	设备型号：
 	</td>
 	<td>
	<select id="dvmodel" style="width:98%;height:98%" data-fieldId="dvmodelId" name="dvmodel" <%if(dm==null){%>disabled=true<%}%>>
	<option value="">请选择</option>
	<%if(dm!=null){%>
	<option value="<%=dm.getDvmodelId()%>"selected ="selected"><%=dm.getModelname()%></option>
	<%}%>
	</select>
	</td>